import React from 'react'
import {useSearchParams} from 'react-router-dom'

export default function SportsNewsDetail() {
 const [query]=useSearchParams()
 console.log('query',query.get("id"));
  return (
    <div>
        <h2>体育详情</h2>
        <div>{query.get("id")}</div>
    </div>
  )
}
